﻿using System;
using Rabbit.Logic;

namespace RabbitManage.Action
{
    public partial class DiliveryStrategyDelete : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string id = Request["id"];
            if (string.IsNullOrEmpty(id)) return;
            RabbitUse.DeleteDiliveryStrategyById(Db.Store, id);
            Response.Redirect("~/UI/DiliveryStrategyList.aspx", false);
        }
    }
}